from fit2gpx import Converter

converter = Converter()

# convert single file
gpx = converter.fit_to_gpx(f_in='F:/work/.tmp/MAGENE_C606_2024-10-20_075331_837920.fit', f_out='F:/work/.tmp/MAGENE_C606_2024-10-20_075331_837920.gpx')

# convert all files in a directory
# converter.fit_to_gpx_bulk(dir_in='./project/activities/', dir_out='./project/activities_convert/')
